feat: release v1.2.0 with enhanced security, PostgreSQL support, and bundled pricing#50
Merged
Conversation
…mport - Updated the `write_default_config` function to accept a new parameter `pricing_catalog_path`, allowing users to specify a bundled pricing catalog layout. - Modified the `init` command to include a `--no-bundled-pricing` flag, enabling users to skip the import of bundled OpenAI, Anthropic, and Google pricing tables during workspace initialization. - Enhanced documentation to clarify the new behavior of the `flightdeck init` command and the implications of using the `--no-bundled-pricing` option. - Updated tests to validate the new command behavior and ensure compatibility with existing functionality. This update provides users with greater flexibility in configuring their workspace, particularly for air-gapped or custom-only environments.
…ptions - Enhanced the `write_default_config` function to accept a `pricing_catalog_path` parameter for specifying bundled pricing catalogs. - Added a `--no-bundled-pricing` flag to the `init` command, allowing users to skip importing bundled pricing tables during workspace setup. - Updated documentation to clarify the new command behavior and implications of the `--no-bundled-pricing` option. - Revised tests to ensure the new command functionality is validated and compatible with existing features. This update provides users with increased flexibility in configuring their workspace, particularly for air-gapped or custom-only environments.
… test environments - Modified the `e2e-server.mjs` script to include the `--no-bundled-pricing` flag in the `flightdeck init` command, ensuring that the workspace setup aligns with the expectations of the default e2e test suite. - Updated the README to reflect the change in workspace configuration, clarifying the implications for the `promotion_requires_approval` and `pricing_catalog_configured` settings during tests. This update enhances the reliability of end-to-end tests by providing a consistent workspace setup.
flightdeck init to support optional bundled pricing import…bundled pricing - Introduced breaking changes: tightened access control for `POST /v1/events` and `GET /v1/*` routes, requiring Bearer token authentication when `FLIGHTDECK_LOCAL_API_TOKEN` is set. - Updated Python compatibility to require version `>=3.11,<4`. - Enhanced `flightdeck init` to include bundled pricing imports by default, with an option to skip this feature. - Added support for PostgreSQL as an optional ledger backend, alongside existing SQLite functionality. - Introduced new API endpoints for exporting run data and improved filtering capabilities. - Enhanced web UI components for better user experience and accessibility. - Updated documentation across multiple files to reflect these changes and improve clarity. This release aims to strengthen security, enhance usability, and provide more flexible integration options for users.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
write_default_configfunction to accept a new parameterpricing_catalog_path, allowing users to specify a bundled pricing catalog layout.initcommand to include a--no-bundled-pricingflag, enabling users to skip the import of bundled OpenAI, Anthropic, and Google pricing tables during workspace initialization.flightdeck initcommand and the implications of using the--no-bundled-pricingoption.This update provides users with greater flexibility in configuring their workspace, particularly for air-gapped or custom-only environments.
Summary
Why
Changes
Validation
Run the same checks as CI (see
.github/workflows/ci.yml) before opening / updating the PR. Cursor loads.cursor/rules/flightdeck-ci-artifacts.mdcas a short reminder forstatic/+schemas/gates.uv sync --frozen --extra devuv run python -m ruff check src testsuv run python -m pytestuv run python scripts/generate_schemas.pythengit diff --exit-code schemas/(if models/schemas touched)cd web && npm ci && npm run build && cd .. && git diff --exit-code src/flightdeck/server/static/(ifweb/sources, Vite config, orweb/deps / lockfile change the production bundle)cd web && npx playwright install chromium && npm run test:e2e(ifweb/changed)uv run flightdeck-quickstart-verifyuv run flightdeck --helpWith pip / venv only, use
python -m …equivalents fromDEVELOPMENT.md.Schema / Storage Impact
Risk
Review
@flightdeckdev/maintainerson the org repo). On a fork, GitHub may not auto-request; use Reviewers on the PR.AGENTS.md); linked issue or release note intent noted if helpful.Notes